#ifndef DEVICE_CAPTURE_AND_SEND_AD_H_H
#define DEVICE_CAPTURE_AND_SEND_AD_H_H

#include <wchar.h>
#include <vector>
#include <string>
extern "C"
{
#include <winsock2.h>
};

class DeviceCaptureAndSend;

class DeviceCaptureAndSendAd
{
public:
	DeviceCaptureAndSendAd(const wchar_t* deviceFriendlyName);
	~DeviceCaptureAndSendAd();
	bool start();
	bool stop();
	bool pause();
	bool addVideoSocket(int socket);
	bool addAudioSocket(int socket);
	bool clearAllSocket(); 
	bool getPreviewWindowSize(long* width,long* height);
	bool setPreviewParent(HANDLE parent);
	bool resetDevice(const wchar_t* deviceName);
	bool getInputVideoPinNames(std::vector<std::wstring>& resultList);
	bool setVideoInputPin(int intputIndex);
private:
	DeviceCaptureAndSend* m_RealObject;
};
#endif